export const paperTypeListData = [
    {
        label: '知识点',
        id: 1
    },
    {
        label: '练习卷',
        id: 2
    },
    {
        label: '测试卷',
        id: 3
    },
    {
        label: '错题本',
        id: 4
    },
    {
        label: '历年真题',
        id: 5
    },
    {
        label: '模拟试卷',
        id: 6
    },
];

export const paperTypeMap = paperTypeListData.reduce((map: {[prop: string]: typeof paperTypeListData[0]}, item) => {
    map[item.id] = item;
    return map;
}, {});